package com.study.talk.module.netty.message.response;

import com.study.talk.module.netty.message.MessageType;
import com.study.talk.module.netty.message.TalkMessage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  添加好友消息响应
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddUserResponse extends TalkMessage {

    @ApiModelProperty("邀请方id")
    private Integer inviteId;

    @ApiModelProperty("邀请方昵称")
    private String inviteName;

    @ApiModelProperty("邀请方头像")
    private String inviteAvatar;

    @Override
    public byte getType() {
        return MessageType.ADD_USER_RESPONSE;
    }
}
